﻿
#include "stdafx.h"
#include "Define.h"
#include "Standart.h"

CStandart::CStandart()
{
}


CStandart::~CStandart()
{
}

CString CStandart::GetYSignType()
{
	CString strY(L"Q");
	if (g_CoordSet.nYSignType == 1)
	{
		strY = L"P";
	}
	if (g_CoordSet.nYSignType == 2)
	{
		strY = L"F";
	}
	if (g_CoordSet.nYSignType == 3)
	{
		strY = L"U";
	}
	return strY;
}

//锚杆单循环
BOOL CStandart::IsData1_1Type(int nGuifanType, int nGuifan)
{
	if ((nGuifanType == 1 && nGuifan == 9) ||		//锚杆验收(JGJ 120 - 2012)
		(nGuifanType == 0 && nGuifan == 5) ||		//土层锚杆验收(GB50007-2011)
		(nGuifanType == 0 && nGuifan == 13) ||		//锚杆验收试验(GB 50330-2013)
		(nGuifanType == 1 && nGuifan == 17) ||		//锚杆基本单循环(JGJ/T 401-2017)
		(nGuifanType == 1 && nGuifan == 18) ||		//锚杆验收单循环(JGJ/T 401-2017)
		(nGuifanType == 4 && nGuifan == 2) ||		//锚杆验收试验(CECS 22:2005)
		(nGuifanType == 0 && nGuifan == 10) ||		//岩土锚杆验收单循环(GB 50086-2015)
		(nGuifanType == 1 && nGuifan == 27) ||		//高压喷射扩大头锚杆验收试验(JGJ/T 282-2012)
		(nGuifanType == 3 && nGuifan == 15) ||		//港口锚杆抗拔验证试验(JTS 167-4-2012)
		(nGuifanType == 5 && nGuifan == 17) 		//锚杆基本单循环试验(DB32/T 3916-2020)
		)
	{
		return TRUE;
	}
	return FALSE;
}

//曲线类型
void CStandart::GetCurCurveInfo(char nStandartType, char nStandart, char &nUnit)
{
	if ((nStandartType == 0 && nStandart == 0) ||		//国标慢速(GB 50007-2011)
		(nStandartType == 0 && nStandart == 1) ||		//国标岩基(GB 50007-2011)
		(nStandartType == 1 && nStandart == 13) ||	//行标复合地基(JGJ 340-2015)
		(nStandartType == 1 && nStandart == 14) ||	//行标岩基载荷(JGJ 340-2015)
		(nStandartType == 1 && nStandart == 15) 		//行标地基土平板(JGJ 340-2015)
		)
	{
		//单桩竖向抗压
		if (nUnit == 1)
		{
			g_strCurveTitle[0] = L"P-s曲线";
			g_strCurveTitle[1] = L"s-lgP曲线";
			g_strCurveTitle[2] = L"s-lgt曲线";

			g_strCurveUnitX[0] = L"P(kPa)";
			g_strCurveUnitX[1] = L"P(kPa)";
			g_strCurveUnitX[2] = L"t(min)";
		}
		else
		{
			g_strCurveTitle[0] = L"Q-s曲线";
			g_strCurveTitle[1] = L"s-lgQ曲线";
			g_strCurveTitle[2] = L"s-lgt曲线";

			g_strCurveUnitX[0] = L"Q(kN)";
			g_strCurveUnitX[1] = L"Q(kN)";
			g_strCurveUnitX[2] = L"t(min)";
		}

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"加载详情表";
		g_strTableTitle[2] = L"卸载详情表";
		g_strTableTitle[3] = L"原始记录表";

		g_strCurveUnitY[0] = L"s(mm)";
		g_strCurveUnitY[1] = L"s(mm)";
		g_strCurveUnitY[2] = L"s(mm)";

		g_bAllowChangeUnit = TRUE;

		//数据类型 曲线和表个数
		g_DataType = DATA_0;
		g_nTableCnt = 4;
		g_nCurveCnt = 3;
	}
	else if ((nStandartType == 1 && nStandart == 2) ||	//行标抗拔(JGJ 106-2014)
		(nStandartType == 2 && nStandart == 2) ||		//铁路工程竖向抗拔试验(TB10218-2019)
		(nStandartType == 1 && nStandart == 21) ||		//锚杆分级维持载荷基本试验(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 22) ||		//锚杆分级维持载荷验收试验(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 23) ||		//土钉抗拔试验(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 24) ||		//土钉抗拔极限试验(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 16) ||		//铁路工程竖向抗拔试验(TB10218-2019)
		(nStandartType == 5 && nStandart == 14) ||		//抗拔试验(DB32 / T 3916 - 2020)
		(nStandartType == 5 && nStandart == 13)	||		//锚杆分级维持载荷验收试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 18) 		//锚杆分级载荷基本试验JTG/T 3512-2020
		)
	{
		//单桩竖向抗拔
		//数据类型 曲线和表个数
		g_DataType = DATA_0;
		g_nTableCnt = 4;
		g_nCurveCnt = 3;

		g_strCurveTitle[0] = L"U-δ曲线";
		g_strCurveTitle[1] = L"δ-lgU曲线";
		g_strCurveTitle[2] = L"δ-lgt曲线";

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"加载详情表";
		g_strTableTitle[2] = L"卸载详情表";
		g_strTableTitle[3] = L"原始记录表";

		g_strCurveUnitX[0] = L"U(kN)";
		g_strCurveUnitX[1] = L"U(kN)";
		g_strCurveUnitX[2] = L"t(min)";

		g_strCurveUnitY[0] = L"δ(mm)";
		g_strCurveUnitY[1] = L"δ(mm)";
		g_strCurveUnitY[2] = L"δ(mm)";

		g_bAllowChangeUnit = FALSE;
	}
	else if ((nStandartType == 1 && nStandart == 0) ||	//行标快速(JGJ 106-2014)
		(nStandartType == 1 && nStandart == 1) ||			//行标慢速(JGJ 106-2014)
		(nStandartType == 0 && nStandart == 3) ||			//岩石锚杆(GB 50007-2011)
		(nStandartType == 1 && nStandart == 10) ||		//行标竖向增强体(JGJ 340 - 2015)	
		(nStandartType == 1 && nStandart == 12) ||		//行标慢速(JTG/T 3512-2020)
		(nStandartType == 1 && nStandart == 11) ||		//载体单桩慢速试验(JGJ/T 135-2018)
		(nStandartType == 2 && nStandart == 0) ||			//铁路工程竖向抗压慢速试验(TB10218-2019)
		(nStandartType == 2 && nStandart == 1) ||			//铁路工程复合地基(TB10106-2010)
		(nStandartType == 3 && nStandart == 0) ||			//水运工程静载荷快速试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 1) ||			//水运工程静载荷慢速试验(JTS 237-2017)
		(nStandartType == 5 && nStandart == 7) ||			//慢速试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 8) ||		//快速试验(DB32/T 3916-2020)
		(nStandartType == 3 && nStandart == 2) ||		//港口抗压慢速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 3) ||		//港口抗压快速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 4) ||		//港口抗压慢速(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 5) ||		//港口抗压快速(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 6) ||		//水运工程水平单循环试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 7) ||		//港口工程水平单循环试验(JTS 167-4-2012)
		(nStandartType == 3 && nStandart ==	16) ||		//港口抗拔慢速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 17) ||		//港口抗拔快速(JTJ 255-2002)
		(nStandartType == 1 && nStandart == 29) 		//蠕变试验(JGJ 120-2012)
		)
	{
		//锚杆试验
		//数据类型 曲线和表个数
		g_DataType = DATA_0;
		g_nTableCnt = 4;
		g_nCurveCnt = 3;

		g_strCurveTitle[0] = L"Q-s曲线";
		g_strCurveTitle[1] = L"s-lgQ曲线";
		g_strCurveTitle[2] = L"s-lgt曲线";

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"加载详情表";
		g_strTableTitle[2] = L"卸载详情表";
		g_strTableTitle[3] = L"原始记录表";

		g_strCurveUnitX[0] = L"Q(kN)";
		g_strCurveUnitX[1] = L"Q(kN)";
		g_strCurveUnitX[2] = L"t(min)";

		g_strCurveUnitY[0] = L"s(mm)";
		g_strCurveUnitY[1] = L"s(mm)";
		g_strCurveUnitY[2] = L"s(mm)";

		nUnit = 0;
		g_bAllowChangeUnit = FALSE;
	}
	else if ((nStandartType == 0 && nStandart == 6) ||	//岩体原位测试(GB 50021-2001)
		(nStandartType == 0 && nStandart == 7) ||			//土体原位测试(GB 50021-2001)
		(nStandartType == 0 && nStandart == 8) ||			//国标平板(GB/T 50123-2019)
		(nStandartType == 1 && nStandart == 3) ||			//行标复合(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 4) ||			//处理后地基(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 5) ||			//复合地基增强体(JGJ 79-2012)
		(nStandartType == 5 && nStandart == 0) ||			//浅层平板试验(DB13(J) 148 - 2012)
		(nStandartType == 5 && nStandart == 1) ||			//深层平板试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 2) ||			//复合地基(DB13(J) 148 - 2012)
		(nStandartType == 5 && nStandart == 3) ||			//岩基载荷试验(DB13(J) 148 - 2012)	
		(nStandartType == 6 && nStandart == 0) ||			//浅层平板(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 1) ||			//深层平板(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 2) ||			//岩基载荷试验(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 3) ||			//平板载荷试验(JTG 3223-2021)
		(nStandartType == 5 && nStandart == 9) ||		//岩石地基载荷试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 10) ||		//浅层平板(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 11) ||		//浅层平板(DB32/T 3916-2020)
		(nStandartType == 0 && nStandart == 15) ||		//复合地基增强体(GB50202-2018)
		(nStandartType == 0 && nStandart == 16) ||		//复合地基(GB50025-2018)
		(nStandartType == 0 && nStandart == 17) ||		//处理后地基(GB50202-2018)
		(nStandartType == 0 && nStandart == 18)	||		//复合地基(GB50202-2018)
		(nStandartType == 3 && nStandart == 8) ||		//水运工程复合地基载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 9) ||		//水运工程土体载荷试验(JTS 237-2017)(GB50202-2018)
		(nStandartType == 3 && nStandart == 10) ||		//水运工程岩体载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 11) ||		//水运工程螺旋板载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 12) ||		//水运工程岩体浅层平板试验(JTS 133-2013)
		(nStandartType == 3 && nStandart == 13)	||		//水运工程土体深层平板试验(JTS 133-2013)
		(nStandartType == 2 && nStandart == 4) ||		//路工程平板载荷试验慢速法(TB 10018-2018)
		(nStandartType == 2 && nStandart == 5) ||		//铁路工程平板载荷试验快速法(TB 10018-2018)
		(nStandartType == 7 && nStandart == 0) 			//岩体载荷试验(SL/T 264-2020)
		)
	{
		//地方规范
		//数据类型 曲线和表个数
		g_DataType = DATA_0;
		g_nTableCnt = 4;
		g_nCurveCnt = 3;

		g_strCurveTitle[0] = L"P-s曲线";
		g_strCurveTitle[1] = L"s-lgP曲线";
		g_strCurveTitle[2] = L"s-lgt曲线";

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"加载详情表";
		g_strTableTitle[2] = L"卸载详情表";
		g_strTableTitle[3] = L"原始记录表";

		g_strCurveUnitX[0] = L"P(kPa)";
		g_strCurveUnitX[1] = L"P(kPa)";
		g_strCurveUnitX[2] = L"t(min)";

		g_strCurveUnitY[0] = L"s(mm)";
		g_strCurveUnitY[1] = L"s(mm)";
		g_strCurveUnitY[2] = L"s(mm)";

		g_bAllowChangeUnit = FALSE;
		nUnit = 1;
	}
	else if ((nStandartType == 0 && nStandart == 4) ||	//土层锚杆基本(GB 50007-2011)
		(nStandartType == 0 && nStandart == 9) ||		//岩土锚杆基本试验(GB 50086-2015)
		(nStandartType == 0 && nStandart == 11) || 		//岩土锚杆验收多循环(GB 50086-2015)
		(nStandartType == 0 && nStandart == 12) || 		//锚杆基本试验(GB 50330-2013)
		(nStandartType == 1 && nStandart == 8) ||		//锚杆基本(JGJ 120 - 2012)
		(nStandartType == 1 && nStandart == 19) ||		//锚杆基本多循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 20) ||		//锚杆验收多循环(JGJ/T 401-2017)
		(nStandartType == 4 && nStandart == 1) ||		//锚锚杆基本试验(CECS 22:2005)
		(nStandartType == 4 && nStandart == 3) ||		//锚杆基本试验(JGJ 476-2019 定制14循环)
		(nStandartType == 4 && nStandart == 4) ||		//锚杆基本试验(JGJ 476-2019 定制20循环)
		(nStandartType == 5 && nStandart == 12) ||		//锚杆验收多循环(DB32/T 3916-2020)
		(nStandartType == 1 && nStandart == 26) ||		//高压喷射扩大头锚杆基本试验(JGJ/T 282-2012)
		(nStandartType == 3 && nStandart == 14) ||		//港口锚杆抗拔破坏试验(JTS 167-4-2012)
		(nStandartType == 5 && nStandart == 16) 		//锚杆基本多循环试验(DB32/T 3916-2020)
		)
	{
		//锚杆试验
		CString strY = GetYSignType();

		//数据类型 曲线和表个数
		g_DataType = DATA_1;
		g_nTableCnt = 3;
		g_nCurveCnt = 2;

		g_strCurveTitle[0] = strY + L"-s曲线";
		g_strCurveTitle[1] = L"Se-" + strY + L"-Sp曲线";

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"测试详情表";
		g_strTableTitle[2] = L"原始记录表";

		g_strCurveUnitX[0] = L"s(mm)";
		g_strCurveUnitX[1] = L"Se(mm)";
		g_strCurveUnitX[2] = L"Sp(mm)";

		g_strCurveUnitY[0] = strY + L"(kN)";
		nUnit = 0;
		g_bAllowChangeUnit = FALSE;
	}
	else if ((nStandartType == 1 && nStandart == 9) ||			//锚杆验收(JGJ 120 - 2012)
		(nStandartType == 0 && nStandart == 5) ||				//土层锚杆验收(GB50007-2011)
		(nStandartType == 0 && nStandart == 10) ||				//岩土锚杆验收单循环(GB 50086-2015)
		(nStandartType == 0 && nStandart == 13) ||				//锚杆验收试验(GB 50330-2013)
		(nStandartType == 1 && nStandart == 17) ||				//锚杆基本单循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 18) ||				//锚杆验收单循环(JGJ/T 401-2017)
		(nStandartType == 4 && nStandart == 2)	||  		    //锚杆验收试验(CECS 22:2005)
		(nStandartType == 1 && nStandart == 27) ||				//高压喷射扩大头锚杆验收试验(JGJ/T 282-2012)
		(nStandartType == 3 && nStandart == 15) ||				//港口锚杆抗拔验证试验(JTS 167-4-2012)
		(nStandartType == 5 && nStandart == 17) 				//锚杆基本单循环试验(DB32/T 3916-2020)
		)
	{
		//数据类型 曲线和表个数
		CString strY = GetYSignType();
		//锚杆试验
		g_DataType = DATA_1;
		g_nTableCnt = 3;
		g_nCurveCnt = 1;

		g_strCurveTitle[0] = strY + L"-s曲线";

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"测试详情表";
		g_strTableTitle[2] = L"原始记录表";

		g_strCurveUnitX[0] = L"s(mm)";
		g_strCurveUnitY[0] = strY + L"(kN)";
		nUnit = 0;
		g_bAllowChangeUnit = FALSE;
	}
	else if ((nStandartType == 1 && nStandart == 6) ||	//水平多循环(JGJ 106-2014)	
		(nStandartType == 1 && nStandart == 25) ||	//水平多循环JTG/T 3512-2020)
		(nStandartType == 5 && nStandart == 15)		//水平多循环(DB32/T 3916-2020)
		)
	{
		//水平多循环试验
		//数据类型 曲线和表个数
		g_DataType = DATA_2;
		g_nTableCnt = 3;
		g_nCurveCnt = 2;

		g_strCurveTitle[0] = L"H-t-Y0 曲线";
		g_strCurveTitle[1] = L"H-∆Y0/∆H 曲线";

		g_strTableTitle[0] = L"数据记录表";
		g_strTableTitle[1] = L"加载详测表";
		g_strTableTitle[2] = L"原始记录表";

		g_strCurveUnitX[0] = L"t(h)";
		g_strCurveUnitX[1] = L"H(kN)";
		g_strCurveUnitX[2] = L"H(kN)";

		g_strCurveUnitY[0] = L"Y0(mm)";
		g_strCurveUnitY[1] = L"∆Y0/∆H(mm/kN)";

		g_bAllowChangeUnit = FALSE;
	}
	else if ((nStandartType == 1 && nStandart == 7) ||	//行标自平衡(JGJ/T 403-2017)
		(nStandartType == 1 && nStandart == 28) 		//行标自平衡(JT/T 738-2009)
		)
	{
		g_DataType = DATA_3;

		//单桩竖向抗压
		if (nUnit == 1)
		{
			g_strCurveTitle[0] = L"P-s曲线";
			g_strCurveTitle[1] = L"s-lgP曲线";
			g_strCurveTitle[2] = L"s-lgt曲线";
			g_strCurveTitle[3] = L"P-s等效曲线";

			g_strCurveUnitX[0] = L"P(kPa)";
			g_strCurveUnitX[1] = L"P(kPa)";
			g_strCurveUnitX[2] = L"t(min)";
			g_strCurveUnitX[3] = L"P(kPa)";
		}
		else
		{
			g_strCurveTitle[0] = L"Q-s曲线";
			g_strCurveTitle[1] = L"s-lgQ曲线";
			g_strCurveTitle[2] = L"s-lgt曲线";
			g_strCurveTitle[3] = L"Q-s等效曲线";

			g_strCurveUnitX[0] = L"Q(kN)";
			g_strCurveUnitX[1] = L"Q(kN)";
			g_strCurveUnitX[2] = L"t(min)";
			g_strCurveUnitX[3] = L"Q(kN)";
		}

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"加载详情表";
		g_strTableTitle[2] = L"卸载详情表";
		g_strTableTitle[3] = L"等效数据汇总";
		g_strTableTitle[4] = L"原始记录表";

		g_strCurveUnitY[0] = L"s(mm)";
		g_strCurveUnitY[1] = L"δ(mm)";

		g_bAllowChangeUnit = TRUE;

		//数据类型 曲线和表个数
		g_nTableCnt = 5;
		g_nCurveCnt = 4;
	}
	else //默认Data_0
	{
		//单桩竖向抗压
		if (nUnit == 1)
		{
			g_strCurveTitle[0] = L"P-s曲线";
			g_strCurveTitle[1] = L"s-lgP曲线";
			g_strCurveTitle[2] = L"s-lgt曲线";

			g_strCurveUnitX[0] = L"P(kPa)";
			g_strCurveUnitX[1] = L"P(kPa)";
			g_strCurveUnitX[2] = L"t(min)";
		}
		else
		{
			g_strCurveTitle[0] = L"Q-s曲线";
			g_strCurveTitle[1] = L"s-lgQ曲线";
			g_strCurveTitle[2] = L"s-lgt曲线";

			g_strCurveUnitX[0] = L"Q(kN)";
			g_strCurveUnitX[1] = L"Q(kN)";
			g_strCurveUnitX[2] = L"t(min)";
		}

		g_strTableTitle[0] = L"数据汇总表";
		g_strTableTitle[1] = L"加载详情表";
		g_strTableTitle[2] = L"卸载详情表";
		g_strTableTitle[3] = L"原始记录表";

		g_strCurveUnitY[0] = L"s(mm)";
		g_strCurveUnitY[1] = L"s(mm)";
		g_strCurveUnitY[2] = L"s(mm)";

		g_bAllowChangeUnit = TRUE;

		//数据类型 曲线和表个数
		g_DataType = DATA_0;
		g_nTableCnt = 4;
		g_nCurveCnt = 3;
	}
}

char CStandart::GetMaxLoadType(char nStandartType, char nStandart)
{
	char chMaxLoadType = 0;

	if ((nStandartType == 0 && nStandart == 0) ||			//国标慢速(GB 50007-2011)
		(nStandartType == 0 && nStandart == 3) ||			//岩石锚杆(GB 50007-2011)
		(nStandartType == 1 && nStandart == 11) ||		//载体单桩慢速试验(JGJ/T 135-2018)
		(nStandartType == 2 && nStandart == 1) ||			//铁路工程复合地基(TB10106-2010)
		(nStandartType == 1 && nStandart == 0) ||			//行标快速(JGJ 106-2014)
		(nStandartType == 1 && nStandart == 1) ||			//行标慢速(JGJ 106-2014)
		(nStandartType == 1 && nStandart == 2) ||			//行标抗拔(JGJ 106 - 2014)
		(nStandartType == 1 && nStandart == 7) ||			//行标自平衡(JGJ/T 403-2017)
		(nStandartType == 1 && nStandart == 10) || 		//行标竖向增强体(JGJ 340-2015)
		(nStandartType == 1 && nStandart == 12) ||		//行标慢速(JTG/T 3512-2020)
		(nStandartType == 1 && nStandart == 16) ||		//行标抗拔(JTG/T 3512-2020)
		(nStandartType == 2 && nStandart == 0) ||			//铁路工程竖向抗压慢速试验(TB10218-2019)
		(nStandartType == 2 && nStandart == 2) ||			//铁路工程竖向抗拔试验(TB10218-2019)
		(nStandartType == 3 && nStandart == 0) ||			//水运工程静载荷快速试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 1) ||			//水运工程静载荷慢速试验(JTS 237-2017)
		(nStandartType == 4 && nStandart == 0) ||			//自定义
		(nStandartType == 5 && nStandart == 4) ||			//慢速试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 5) ||			//快速试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 6) ||			//抗拔试验(DB13(J) 148-2012)
		(nStandartType == 1 && nStandart == 21) ||		//锚杆分级载荷基本试验(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 22) ||		//锚杆分级载荷验收试验(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 23) ||		//土钉抗拔试验(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 24) ||		//土钉抗拔极限试验(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 25) ||		//水平多循环JTG/T 3512-2020)
		(nStandartType == 1 && nStandart == 6)	||		//水平多循环(JGJ 106-2014)
		(nStandartType == 5 && nStandart == 7) ||		//慢速试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 8) ||		//快速试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 13) ||		//锚杆分级维持载荷验收试验(DB32 / T 3916 - 2020)
		(nStandartType == 5 && nStandart == 14) ||		//抗拔试验(DB32 / T 3916 - 2020)
		(nStandartType == 5 && nStandart == 15) ||		//水平多循环(DB32/T 3916-2020)
		(nStandartType == 1 && nStandart == 28) ||		//行标自平衡(JT/T 738-2009)
		(nStandartType == 3 && nStandart == 2) ||		//港口抗压慢速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 3) ||		//港口抗压快速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 4) ||		//港口抗压慢速(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 5) ||		//港口抗压快速(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 6) ||		//水运工程水平单循环试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 7) ||		//港口工程水平单循环试验(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 16) ||		//港口抗拔慢速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 17)||		//港口抗拔快速(JTJ 255-2002)
		(nStandartType == 1 && nStandart == 29) 		//蠕变试验(JGJ 120-2012)
		)
	{
		chMaxLoadType = 0;  //最大荷载（kN）
	}
	else if ((nStandartType == 0 && nStandart == 1) ||	//国标岩基(GB 50007-2011)
		(nStandartType == 0 && nStandart == 6) ||			//岩体原位测试(GB 50021-2001)
		(nStandartType == 0 && nStandart == 7) ||			//土体原位测试(GB 50021-2001)
		(nStandartType == 5 && nStandart == 2) ||			//岩基载荷试验(DB13(J) 148-2012)
		(nStandartType == 0 && nStandart == 2) ||			//国标平板(GB 50007-2011)
		(nStandartType == 0 && nStandart == 8) ||			//国标平板(GB/T 50123-2019)
		(nStandartType == 5 && nStandart == 1) ||			//深层平板试验(DB13(J) 148-2012)
		(nStandartType == 6 && nStandart == 1) ||			//深层平板(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 2) ||			//岩基载荷试验(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 3) ||			//平板载荷试验(JTG 3223-2021)
		(nStandartType == 1 && nStandart == 3) ||			//行标复合(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 4) ||			//处理后地基(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 5) ||			//复合地基增强体(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 13) ||		//行标复合地基(JGJ 340-2015)
		(nStandartType == 1 && nStandart == 15) ||		//行标地基土平板(JGJ 340-2015)
		(nStandartType == 5 && nStandart == 0) ||			//浅层平板试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 3) ||			//复合地基(DB13(J) 148-2012)
		(nStandartType == 6 && nStandart == 0) ||			//浅层平板(JTG 3363-2019)
		(nStandartType == 1 && nStandart == 14) ||			//行标岩基载荷(JGJ 340-2015)
		(nStandartType == 5 && nStandart == 9)	||			//岩石地基载荷试验(DB32 / T 3916 - 2020)
		(nStandartType == 5 && nStandart == 10)	||			//浅层平板(DB32 / T 3916 - 2020)
		(nStandartType == 5 && nStandart == 11)	||			//深层平板(DB32/T 3916-2020)
		(nStandartType == 0 && nStandart == 14) ||			//单桩竖向浸水(GB50025-2018)
		(nStandartType == 0 && nStandart == 15) ||			//复合地基增强体(GB50202-2018)
		(nStandartType == 0 && nStandart == 16) ||			//复合地基(GB50025-2018)
		(nStandartType == 0 && nStandart == 17) ||			//处理后地基(GB50202-2018)
		(nStandartType == 0 && nStandart == 18)	||			//复合地基(GB50202-2018)
		(nStandartType == 2 && nStandart == 3)	||			//铁路工程竖向抗压快速试验(TB10218-2019)
		(nStandartType == 3 && nStandart == 8) ||		//水运工程复合地基载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 9) ||		//水运工程土体载荷试验(JTS 237-2017)(GB50202-2018)
		(nStandartType == 3 && nStandart == 10) ||		//水运工程岩体载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 11) ||		//水运工程螺旋板载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 12) ||		//水运工程岩体浅层平板试验(JTS 133-2013)
		(nStandartType == 3 && nStandart == 13)	||		//水运工程土体深层平板试验(JTS 133-2013)
		(nStandartType == 2 && nStandart == 4) ||		//路工程平板载荷试验慢速法(TB 10018-2018)
		(nStandartType == 2 && nStandart == 5) ||			//铁路工程平板载荷试验快速法(TB 10018-2018)
		(nStandartType == 7 && nStandart == 0) 			//岩体载荷试验(SL/T 264-2020)
		)
	{
		chMaxLoadType = 1;	//最大荷载（kPa）
	}
	else if ((nStandartType == 0 && nStandart == 4) ||	//土层锚杆基本(GB 50007-2011)
		(nStandartType == 1 && nStandart == 8) ||		//锚杆基本(JGJ 120-2012)
		(nStandartType == 0 && nStandart == 9) ||		//岩土锚杆基本试验(GB 50086-2015)
		(nStandartType == 1 && nStandart == 9) ||		//锚杆验收(JGJ 120-2012)
		(nStandartType == 0 && nStandart == 11) ||		//岩土锚杆验收多循环(GB 50086-2015)
		(nStandartType == 0 && nStandart == 10) ||		//岩土锚杆验收单循环(GB 50086-2015)
		(nStandartType == 0 && nStandart == 5) ||		//土层锚杆验收(GB50007-2011)
		(nStandartType == 0 && nStandart == 12) ||		//锚杆基本试验(GB 50330-2013)
		(nStandartType == 0 && nStandart == 13) ||		//锚杆验收试验(GB 50330-2013)
		(nStandartType == 1 && nStandart == 17) ||		//锚杆基本单循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 18) ||		//锚杆验收单循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 19) ||		//锚杆基本多循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 20) ||		//锚杆验收多循环(JGJ/T 401-2017)
		(nStandartType == 4 && nStandart == 1) ||		//锚锚杆基本试验(CECS 22:2005)
		(nStandartType == 4 && nStandart == 2)	||		//锚杆验收试验(CECS 22:2005)
		(nStandartType == 4 && nStandart == 3) ||		//锚杆基本试验(JGJ 476-2019 定制)
		(nStandartType == 4 && nStandart == 4) ||		//锚杆基本试验(JGJ 476-2019 定制)
		(nStandartType == 5 && nStandart == 12) ||		//锚杆验收多循环(DB32 / T 3916 - 2020)
		(nStandartType == 1 && nStandart == 26) ||		//高压喷射扩大头锚杆基本试验(JGJ/T 282-2012)
		(nStandartType == 1 && nStandart == 27) ||		//高压喷射扩大头锚杆验收试验(JGJ/T 282-2012)
		(nStandartType == 3 && nStandart == 14) ||		//港口锚杆抗拔破坏试验(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 15) ||		//港口锚杆抗拔验证试验(JTS 167-4-2012)
		(nStandartType == 5 && nStandart == 16) ||		//锚杆基本多循环试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 17) ||		//锚杆基本单循环试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 18) 		//锚杆分级载荷基本试验JTG/T 3512-2020
		)
	{
		chMaxLoadType = 2;	//最大拉力（kN）
	}
	return chMaxLoadType;
}

//设置试验类型
char CStandart::GetTestType(char nStandartType, char nStandart)
{
	char chTestType = 0;
	if ((nStandartType == 0 && nStandart == 0) ||		//国标慢速(GB 50007-2011)
		(nStandartType == 1 && nStandart == 0) ||		//行标快速(JGJ 106-2014)
		(nStandartType == 1 && nStandart == 1) ||		//行标慢速(JGJ 106-2014)	
		(nStandartType == 1 && nStandart == 10) ||	//行标竖向增强体(JGJ 340-2015)
		(nStandartType == 1 && nStandart == 11) ||	//载体单桩慢速试验(JGJ/T 135-2018)
		(nStandartType == 1 && nStandart == 12) ||	//行标慢速(JTG/T 3512-2020)	
		(nStandartType == 2 && nStandart == 0) ||		//铁路工程竖向抗压慢速试验(TB10218-2019)
		(nStandartType == 5 && nStandart == 4) ||		//慢速试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 5) ||		//快速试验(DB13(J) 148-2012)
		(nStandartType == 3 && nStandart == 0) ||		//水运工程静载荷快速试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 1) ||		//水运工程静载荷慢速试验(JTS 237-2017)
		(nStandartType == 5 && nStandart == 7) ||		//慢速试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 8) ||		//快速试验(DB32 / T 3916 - 2020)
		(nStandartType == 1 && nStandart == 14)||		//单桩竖向浸水(GB50025-2018)
		(nStandartType == 2 && nStandart == 3)	||		//铁路工程竖向抗压快速试验(TB10218-2019)
		(nStandartType == 3 && nStandart == 2) ||		//港口抗压慢速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 3) ||		//港口抗压快速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 4) ||		//港口抗压慢速(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 5) ||		//港口抗压快速(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 16) ||		//港口抗拔慢速(JTJ 255-2002)
		(nStandartType == 3 && nStandart == 17) 		//港口抗拔快速(JTJ 255-2002)
		)
	{
		//单桩竖向抗压
		chTestType = 0;
	}
	else if ((nStandartType == 1 && nStandart == 2) ||	//行标抗拔(JGJ 106 - 2014)
		(nStandartType == 1 && nStandart == 16) ||		//行标抗拔(JGJ 106 - 2014)
		(nStandartType == 1 && nStandart == 23) ||		//土钉抗拔试验(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 24) ||		//土钉抗拔极限试验(JGJ 120-2012)
		(nStandartType == 2 && nStandart == 2) ||			//铁路工程竖向抗拔试验(TB10218-2019)
		(nStandartType == 5 && nStandart == 6)	||		//抗拔试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 14)			//抗拔试验(DB32 / T 3916 - 2020)
		)
	{
		//单桩竖向抗拔
		chTestType = 1;
	}
	else if ((nStandartType == 0 && nStandart == 3) || 	//岩石锚杆(GB 50007-2011)
		(nStandartType == 0 && nStandart == 4) ||		//土层锚杆基本(GB 50007-2011)
		(nStandartType == 0 && nStandart == 5) ||		//土层锚杆验收(GB50007-2011)
		(nStandartType == 0 && nStandart == 9) || 		//岩土锚杆基本试验(GB 50086-2015)
		(nStandartType == 0 && nStandart == 10) ||		//岩土锚杆验收单循环(GB 50086-2015)
		(nStandartType == 0 && nStandart == 11) ||		//岩土锚杆验收多循环(GB 50086-2015)
		(nStandartType == 0 && nStandart == 12) ||		//锚杆基本试验(GB 50330-2013)
		(nStandartType == 0 && nStandart == 13) ||		//锚杆验收试验(GB 50330-2013)
		(nStandartType == 1 && nStandart == 8) ||		//锚杆基本(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 9) ||		//锚杆验收(JGJ 120-2012)
		(nStandartType == 1 && nStandart == 17) ||		//锚杆基本单循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 18) ||		//锚杆验收单循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 19) ||		//锚杆基本多循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 20) ||		//锚杆验收多循环(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 21) ||		//锚杆分级载荷基本试验(JGJ/T 401-2017)
		(nStandartType == 1 && nStandart == 22) ||		//锚杆分级载荷验收试验(JGJ/T 401-2017)
		(nStandartType == 4 && nStandart == 1) ||		//锚锚杆基本试验(CECS 22:2005)
		(nStandartType == 4 && nStandart == 2) ||		//锚杆验收试验(CECS 22:2005)
		(nStandartType == 4 && nStandart == 3) ||		//锚杆基本试验(JGJ 476-2019 定制)
		(nStandartType == 4 && nStandart == 4) ||		//锚杆基本试验(JGJ 476-2019 定制)
		(nStandartType == 5 && nStandart == 12) ||		//锚杆验收多循环(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 13) ||		//锚杆分级维持载荷验收试验(DB32/T 3916-2020)
		(nStandartType == 1 && nStandart == 26) ||		//高压喷射扩大头锚杆基本试验(JGJ/T 282-2012)
		(nStandartType == 1 && nStandart == 27) ||		//高压喷射扩大头锚杆验收试验(JGJ/T 282-2012)
		(nStandartType == 3 && nStandart == 14) ||		//港口锚杆抗拔破坏试验(JTS 167-4-2012)
		(nStandartType == 3 && nStandart == 15) ||		//港口锚杆抗拔验证试验(JTS 167-4-2012)
		(nStandartType == 5 && nStandart == 16) ||		//锚杆基本多循环试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 17) ||		//锚杆基本单循环试验(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 18) ||		//锚杆分级载荷基本试验JTG/T 3512-2020
		(nStandartType == 1 && nStandart == 29) 		//蠕变试验(JGJ 120-2012)
		)
	{
		//锚杆试验
		chTestType = 2;
	}
	else if ((nStandartType == 0 && nStandart == 1) ||	//国标岩基(GB 50007-2011)
		(nStandartType == 0 && nStandart == 6) ||			//岩体原位测试(GB 50021 - 2001)
		(nStandartType == 0 && nStandart == 7) ||			//土体原位测试(GB 50021-2001)
		(nStandartType == 1 && nStandart == 3) ||			//行标复合(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 4) ||			//处理后地基(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 5) ||			//复合地基增强体(JGJ 79-2012)
		(nStandartType == 1 && nStandart == 13) ||			//行标复合地基(JGJ 340-2015)
		(nStandartType == 1 && nStandart == 14) ||		//行标岩基载荷(JGJ 340-2015)
		(nStandartType == 2 && nStandart == 1) ||			//铁路工程复合地基(TB10106-2010)
		(nStandartType == 5 && nStandart == 3) ||			//复合地基(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 2) ||			//岩基载荷试验(DB13(J) 148-2012)
		(nStandartType == 6 && nStandart == 2) 	||		//复岩基载荷试验(JTG 3363-2019)
		(nStandartType == 5 && nStandart == 9) ||	//岩石地基载荷试验(DB32 / T 3916 - 2020)
		(nStandartType == 0 && nStandart == 15) ||			//复合地基增强体(GB50202-2018)
		(nStandartType == 0 && nStandart == 16) ||			//复合地基(GB50025-2018)
		(nStandartType == 0 && nStandart == 17) ||			//处理后地基(GB50202-2018)
		(nStandartType == 0 && nStandart == 18)	||			//复合地基(GB50202-2018)
		(nStandartType == 3 && nStandart == 8) ||		//水运工程复合地基载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 9) ||		//水运工程土体载荷试验(JTS 237-2017)(GB50202-2018)
		(nStandartType == 3 && nStandart == 10) ||		//水运工程岩体载荷试验(JTS 237-2017)
		(nStandartType == 7 && nStandart == 0) 			//岩体载荷试验(SL/T 264-2020)
		)
	{
		//复合地基试验
		chTestType = 3;
	}
	else if ((nStandartType == 0 && nStandart == 2) ||	//国标平板(GB 50007-2011)
		(nStandartType == 0 && nStandart == 8) ||			//国标平板(GB/T 50123-2019)
		(nStandartType == 1 && nStandart == 15) ||		//行标地基土平板(JGJ 340-2015)
		(nStandartType == 5 && nStandart == 0) ||			//深层平板试验(DB13(J) 148-2012)
		(nStandartType == 5 && nStandart == 1) ||			//深层平板(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 0) ||			//浅层平板(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 1) ||			//深层平板(JTG 3363-2019)
		(nStandartType == 6 && nStandart == 3) ||			//平板载荷试验(JTG 3223-2021)
		(nStandartType == 5 && nStandart == 10) ||			//浅层平板(DB32/T 3916-2020)
		(nStandartType == 5 && nStandart == 11)	||			//深层平板(DB32/T 3916-2020)
		(nStandartType == 3 && nStandart == 11) ||		//水运工程螺旋板载荷试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 12) ||		//水运工程岩体浅层平板试验(JTS 133-2013)
		(nStandartType == 3 && nStandart == 13)	||		//水运工程土体深层平板试验(JTS 133-2013)
		(nStandartType == 2 && nStandart == 4) ||		//路工程平板载荷试验慢速法(TB 10018-2018)
		(nStandartType == 2 && nStandart == 5)			//铁路工程平板载荷试验快速法(TB 10018-2018)
		)
	{
		//平板试验
		chTestType = 4;
	}
	else if ((nStandartType == 1 && nStandart == 6) ||		//水平多循环(JGJ 106-2014)
		(nStandartType == 1 && nStandart == 25)		||		//水平多循环JTG/T 3512-2020)
		(nStandartType == 5 && nStandart == 15)		||		//水平多循环(DB32/T 3916-2020)
		(nStandartType == 3 && nStandart == 6) ||			//水运工程水平单循环试验(JTS 237-2017)
		(nStandartType == 3 && nStandart == 7) 				//港口工程水平单循环试验(JTS 167-4-2012)
		)
	{
		//单桩水平试验
		chTestType = 5;
	}
	else if ((nStandartType == 1 && nStandart == 7)	||	//行标自平衡(JGJ/T 403-2017)
		(nStandartType == 1 && nStandart == 28)		//行标自平衡(JT/T 738-2009)
		)
	{
		//自平衡试验
		chTestType = 6;
	}
	else
	{
		//单桩竖向抗压
		chTestType = 0;
	}
	return chTestType;
}

int CStandart::GetDataType(int nGuifanType, int nGuifan)
{
	DATA_TYPE dataType = DATA_0;
	if ((nGuifanType == 0 && nGuifan == 4) ||	   //土层锚杆基本(GB 50007-2011)
		(nGuifanType == 0 && nGuifan == 9) ||		//岩土锚杆基本试验(GB 50086-2015)
		(nGuifanType == 0 && nGuifan == 11) ||		//岩土锚杆验收多循环(GB 50086-2015)
		(nGuifanType == 0 && nGuifan == 12) ||		//锚杆基本试验(GB 50330-2013)
		(nGuifanType == 1 && nGuifan == 8) ||		//锚杆基本(JGJ 120 - 2012)
		(nGuifanType == 4 && nGuifan == 1) ||		//锚杆基本试验(CECS 22:2005)
		(nGuifanType == 4 && nGuifan == 2) ||		//锚杆验收试验(CECS 22:2005)
		(nGuifanType == 4 && nGuifan == 3) ||		//锚杆基本试验(JGJ 476-2019 定制)
		(nGuifanType == 4 && nGuifan == 4) ||		//锚杆基本试验(JGJ 476-2019 定制)
		(nGuifanType == 1 && nGuifan == 26) ||		//高压喷射扩大头锚杆基本试验(JGJ/T 282-2012)
		(nGuifanType == 1 && nGuifan == 27) ||		//高压喷射扩大头锚杆验收试验(JGJ/T 282-2012)
		(nGuifanType == 3 && nGuifan == 14) ||		//港口锚杆抗拔破坏试验(JTS 167-4-2012)
		(nGuifanType == 3 && nGuifan == 15) ||		//港口锚杆抗拔验证试验(JTS 167-4-2012)
		(nGuifanType == 5 && nGuifan == 16) ||		//锚杆基本多循环试验(DB32/T 3916-2020)
		(nGuifanType == 5 && nGuifan == 17) 		//锚杆基本单循环试验(DB32/T 3916-2020)
		)
	{
		//锚杆试验
		dataType = DATA_1;
	}
	else if ((nGuifanType == 1 && nGuifan == 9) ||			//锚杆验收(JGJ 120 - 2012)
		(nGuifanType == 1 && nGuifan == 17) ||				//锚杆基本单循环(JGJ/T 401-2017)
		(nGuifanType == 1 && nGuifan == 18) ||				//锚杆验收单循环(JGJ/T 401-2017)
		(nGuifanType == 1 && nGuifan == 19) ||				//锚杆验收多循环(JGJ/T 401-2017)
		(nGuifanType == 1 && nGuifan == 20) ||				//锚杆验收多循环(JGJ/T 401-2017)
		(nGuifanType == 0 && nGuifan == 5) ||				//土层锚杆验收(GB50007-2011)
		(nGuifanType == 0 && nGuifan == 13) ||				//锚杆验收试验(GB 50330-2013)
		(nGuifanType == 0 && nGuifan == 10) ||				//岩土锚杆验收单循环(GB 50086-2015)
		(nGuifanType == 5 && nGuifan == 12)					//锚杆验收多循环(DB32/T 3916-2020)
		)
	{
		//锚杆试验
		dataType = DATA_1;
	}
	else if ((nGuifanType == 1 && nGuifan == 6) ||	//水平多循环(JGJ 106-2014)
		(nGuifanType == 1 && nGuifan == 25) || //水平多循环JTG/T 3512-2020)
		(nGuifanType == 5 && nGuifan == 15)			//水平多循环(DB32/T 3916-2020)
		)
	{
		dataType = DATA_2;
	}
	else if ((nGuifanType == 1 && nGuifan == 7)	||	//行标自平衡(JGJ/T 403-2017)
		(nGuifanType == 1 && nGuifan == 28) 		//行标自平衡(JT/T 738-2009)
		)
	{
		dataType = DATA_3;
	}
	else
	{
		dataType = DATA_0;
	}
	return int(dataType);
}

//不同的规范获取不同的时间间隔
BOOL CStandart::GetTimeGap(int nGuifanType, int nGuifan, CString load[], CString loadoff[])
{
	int *nLoad = nullptr;
	int *nLoadoff = nullptr;
	if (nGuifanType == 0) {
		//国家规范
		switch (nGuifan) {
		case 0://国标慢速
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 1://国标岩基
			nLoad = new int[12]{0, 1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 2://国标平板
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 3://岩石锚杆
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 4://土层锚桩基本
			nLoad = new int[12]{0, 2, 3, 5, 5, 20, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 5://土层锚桩验收
			nLoad = new int[12]{0, 2, 3, 5, 5, 5, 5, 5, 15, 15, 15, 15};
			nLoadoff = new int[12]{0, 2, 3, 5, 5, 5, 5, 5, 15, 15, 15, 15};
			break;
		case 6://岩体原位测试
			nLoad = new int[12]{0, 1, 2, 2, 5, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 1, 2, 2, 5, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 7://土体原位测试
			nLoad = new int[12]{0, 5, 5, 10, 10, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 5, 10, 10, 15, 15, 30, 30, 30, 30, 30};
			break;
		case 8://国标平板GB/T 50123-2019
			nLoad = new int[12]{0, 5, 5, 10, 10, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 9://岩土锚杆基本试验
			nLoad = new int[12]{0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			nLoadoff = new int[12]{0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			break;
		case 10://岩土锚杆验收单循环
			nLoad = new int[12]{0, 1, 2, 2, 5, 20, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 1, 2, 2, 5, 20, 30, 30, 30, 30, 30, 30};
			break;
		case 11://岩土锚杆验收多循环
			nLoad = new int[12]{0, 1, 2, 2, 5, 20, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
			break;
		case 12://锚杆基本试验
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 13://锚杆验收试验
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 14://单桩竖向浸水(GB50025-2018)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 15://复合地基增强体(GB50202-2018)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 16://复合地基(GB50025-2018)
			nLoad = new int[12]{0, 1, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 17://处理后地基(GB50202-2018)
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			break;
		case 18://复合地基(GB50202-2018)
			nLoad = new int[12]{0, 1, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}
	}
	else if (nGuifanType == 1) {
		//行业规范
		switch (nGuifan) {
		case 0://行标快速
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			nLoadoff = new int[12]{0, 5, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 1://行标慢速
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 2://行标抗拔
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 3://行标复合
			nLoad = new int[12]{0, 1, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 150, 180, 180, 180, 180, 180, 180, 180, 180, 180};
			break;
		case 4://处理后地基
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 5://复合地基增强体
			nLoad = new int[12]{0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 6://水平多循环
			nLoad = new int[12]{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};
			nLoadoff = new int[12]{2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			break;
		case 7://行标自平衡
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 8://行标锚杆基本
			nLoad = new int[12]{0, 2, 3, 5, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 9://锚桩验收
			nLoad = new int[12]{0, 2, 3, 5, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 2, 3, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 10://行标竖向增强体
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 60, 60, 60, 60, 60, 60, 60, 60};
			break;
		case 11://载体单桩慢速试验
			nLoad = new int[12]{0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 60, 60, 60, 60, 60, 60, 60, 60};
			break;
		case 12://行标慢速(JTG/T 3512-2020)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 13://行标复合地基JGJ 340-2015
			nLoad = new int[12]{0, 1, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 120, 120, 120, 120, 120, 120, 120, 120, 120};
			break;
		case 14://行标岩基载荷 JGJ 340-2015
			nLoad = new int[12]{0, 1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 15://行标地基土平板 JGJ 340-2015
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 10, 20, 30, 60, 60, 60, 60, 60, 60, 60, 60};
			break;
		case 16://行标抗拔JTG/T 3512-2020
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 17://锚杆基本单循环
			nLoad =	new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 18://锚杆验收单循环
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 19://锚杆基本多循环(JGJ/T 401-2017)
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 20://锚杆验收多循环(JGJ/T 401-2017)
			nLoad = new int[12]{0, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 21://锚杆分级载荷基本试验JTG/T 3512-2020
		case 22://锚杆分级载荷验收试验JTG/T 3512-2020
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 23://土钉抗拔试验
			nLoad = new int[12]{0, 2, 3, 5, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 2, 3, 5, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 24://土钉抗拔极限试验
			nLoad = new int[12]{0, 2, 3, 5, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 2, 3, 5, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 25://水平多循环
			nLoad = new int[12]{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};
			nLoadoff = new int[12]{2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			break;
		case 26://高压喷射扩大头锚杆基本试验(JGJ/T 282-2012)
			nLoad = new int[12]{0, 1, 4, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 1, 4, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 27://高压喷射扩大头锚杆验收试验(JGJ/T 282-2012)
			nLoad = new int[12]{0, 1, 4, 5, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 28://行标自平衡(JT/T 738-2009)
			nLoad = new int[12]{0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30};
			break;
		case 29://蠕变试验(JGJ 120-2012)
			nLoad = new int[12]{0, 1, 5, 10, 15, 30, 45, 60, 90, 120, 120, 120};
			nLoadoff = new int[12]{0, 1, 5, 10, 15, 30, 45, 60, 90, 120, 120, 120};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}
	}
	else if (nGuifanType== 2) {
		//铁路工程规范
		switch (nGuifan) {
		case 0://铁路工程竖向抗压试验
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 1://铁路工程复合地基
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 2://铁路工程竖向抗拔试验(TB10218-2008)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 3://铁路工程竖向抗压快速试验(TB10218-2019)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			nLoadoff = new int[12]{0, 5, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 4://铁路工程平板载荷试验慢速法(TB 10018-2018)
			nLoad = new int[12]{0, 5, 5, 10, 10, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 5://铁路工程平板载荷试验快速法(TB 10018-2018)
			nLoad = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}
	}
	else if (nGuifanType == 3) {
		//港口水运规范
		switch (nGuifan) {
		case 0://水运工程静载荷快速试验(JTS 237-2017)
			nLoad = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 1://水运工程静载荷慢速试验(JTS 237-2017)
			nLoad = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 2://港口抗压慢速(JTJ 255-2002)
			nLoad = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 3://港口抗压快速(JTJ 255-2002)
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 4://港口抗压慢速(JTS 167-4-2012)
			nLoad = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 5://港口抗压快速(JTS 167-4-2012)
			nLoad = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 6://水运工程水平单循环试验(JTS 237-2017)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 7://港口工程水平单循环试验(JTS 167-4-2012)
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 8://水运工程复合地基载荷试验(JTS 237-2017)
			nLoad = new int[12]{0, 1, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 9://水运工程土体载荷试验(JTS 237-2017)
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 10://水运工程岩体载荷试验(JTS 237-2017)
			nLoad = new int[12]{0, 1, 2, 2, 5, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 11://水运工程螺旋板载荷试验(JTS 237-2017)
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 12://水运工程岩体浅层平板试验(JTS 133-2013)
			nLoad = new int[12]{0, 1, 2, 2, 5, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 30, 30, 30, 30, 30};
			break;
		case 13://水运工程土体深层平板试验(JTS 133-2013)
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 30, 30, 30, 30, 30};
			break;
		case 14://港口锚杆抗拔破坏试验(JTS 167-4-2012)
			nLoad = new int[12]{0, 1, 4, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 1, 4, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 15://港口锚杆抗拔验证试验(JTS 167-4-2012)
			nLoad = new int[12]{0, 1, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 1, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 16://港口抗拔慢速(JTJ 255-2002)
			nLoad = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 17://港口抗拔快速(JTJ 255-2002)锚杆抗拔验证试验(JTS 167-4-2012)
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 15, 30, 30, 30, 30, 30, 30, 30};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}
	}
	else if (nGuifanType == 4) {
		//自定义
		switch (nGuifan) {
		case 0:
			nLoad = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 1://锚杆基本试验
			nLoad = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 2://锚杆验收单循环
			nLoad = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 3://锚杆基本试验(JGJ 476-2019 定制)
			nLoad = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 4://锚杆基本试验(JGJ 476-2019 定制20循环)
			nLoad = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 2, 3, 5, 20, 30, 30, 30, 30, 30, 30, 30};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}
	}
	else if (nGuifanType == 5) {
		//地标规范
		switch (nGuifan) {
		case 0://浅层平板试验 DB13(J) 148-2012
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 1://深层平板试验 DB13(J) 148-2012
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 2://岩基载荷试验 DB13(J) 148-2012
			nLoad = new int[12]{0, 1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 3://复合地基 DB13(J) 148-2012;
			nLoad = new int[12]{0, 1, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 30, 150, 180, 180, 180, 180, 180, 180, 180, 180, 180};
			break;
		case 4://慢速试验 DB13(J) 148-2012
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 5://快速试验 DB13(J) 148-2012
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			nLoadoff = new int[12]{0, 5, 10, 15, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 6://抗拔试验DB13(J) 148-2012
			nLoad = new int[12]{0, 5, 10, 15, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 7://慢速试验(DB32/T 3916-2020)
			nLoad = new int[12]{0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 8://快速试验(DB32/T 3916-2020)
			nLoad = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 9://岩石地基载荷试验(DB32/T 3916-2020)
			nLoad = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 10://浅层平板(DB32/T 3916-2020)
		case 11://深层平板(DB32/T 3916-2020)
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 12://锚杆验收多循环(DB32/T 3916-2020)
			nLoad = new int[12]{0, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 1, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 13://锚杆分级载荷验收试验(DB32/T 3916-2020)
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 14://行标抗拔
			nLoad = new int[12]{0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 15://地标水平(DB32/T 3916-2020)（同行标106-2014规范）
			nLoad = new int[12]{4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4};
			nLoadoff = new int[12]{2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2};
			break;
		case 16://锚杆基本多循环试验(DB32/T 3916-2020)
			nLoad = new int[12]{0, 5, 5, 20, 30, 30, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 5, 5, 20, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		case 17://锚杆基本单循环试验(DB32/T 3916-2020)
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		case 18://锚杆分级载荷基本试验JTG/T 3512-2020
			nLoad = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			nLoadoff = new int[12]{0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}

	}
	else if (nGuifanType == 6) {
		//公路规范
		switch (nGuifan) {
		case 0://浅层平板(JTG 3363-2019)
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 1://深层平板(JTG 3363-2019)
			nLoad = new int[12]{0, 10, 10, 10, 15, 15, 30, 30, 30, 30, 30, 30};
			nLoadoff = new int[12]{0, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15};
			break;
		case 2://岩基载荷试验(JTG 3363-2019)
			nLoad = new int[12]{0, 1, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		case 3://平板载荷试验(JTG 3223-2021)
			nLoad = new int[12]{0, 1, 2, 2, 5, 5, 10, 10, 15, 15, 15, 30};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 30, 30, 60, 60, 60};
			break;
		default:
			nLoad = new int[12]{ 0, 5, 5, 5, 15, 15, 15, 30, 30, 30, 30, 30 };
			nLoadoff = new int[12]{0, 15, 15, 30, 30, 30, 30, 30, 30, 30, 30, 30};
			break;
		}
	}
	else if (nGuifanType == 7) {
		//水利水电规范
		switch (nGuifan) {
		case 0://岩体载荷试验(SL/T 264-2020)
			nLoad = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		default:
			nLoad = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			nLoadoff = new int[12]{0, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10};
			break;
		}
	}

	if (nLoad != nullptr)
	{
		for (int i = 0; i < 12; i++)
		{
			load[i].Format(L"%d", *(nLoad+i));
			loadoff[i].Format(L"%d", *(nLoadoff + i));
		}
		delete[] nLoad;
		delete[] nLoadoff;
		return TRUE;
	}
	return FALSE;
}